From c945a9676876798fa0b909582547ad1fdd540482 Mon Sep 17 00:00:00 2001 From: justbur Date: Mon, 13 Jul 2015 11:23:25 -0400 Subject: [PATCH] Autoloads for helper functions --- which-key.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/which-key.el b/which-key.el index 133833b84e4..92d82f044d0 100644 --- a/which-key.el +++ b/which-key.el @@ -273,6 +273,7 @@ bottom." (setq alist (push (cons key repl) alist)) alist) +;;;###autoload (defun which-key/add-key-based-replacements (key repl &rest more) "Replace the description of a key sequence KEY (e.g., \"C-c C-c\") with REPL. Both KEY and REPL should be strings. MORE @@ -286,6 +287,7 @@ replacements are added to which-key-key-based-description-replacement-alist key repl)) (setq key (pop more) repl (pop more)))) +;;;###autoload (defun which-key/add-major-mode-key-based-replacements (mode key repl &rest more) "Functions like `which-key/add-key-based-replacements' with the exception that KEY and REPL (MORE contains addition KEY REPL -- 2.30.2